<!DOCTYPE html>
<html>
<head>
<title>W3.CSS(w3cschool.cn)</title>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<link rel="stylesheet" href="https://7npmedia.w3cschool.cn/w3.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
</head>
<body>
<div class="w3-container">
<h2>w3-mobile 类</h2>
<p><strong>w3-mobile</strong>类添加移动第一响应性到任何元件。</p>
<p>它将display:block和width:100%添加到屏幕宽度小于600px的元素上。</p>
<p>调整浏览器窗口的大小以查看效果:</p>
<button class="w3-button w3-black w3-mobile">主页</button>
<button class="w3-button w3-black w3-mobile">链接 1</button>
<button class="w3-button w3-black w3-mobile">链接 2</button>
<button class="w3-button w3-black w3-mobile">链接 3</button>
</div>
</body>
</html>